package com.ordos.recruit.module.user.entity;

import com.wonders.commons.validation.idcard.IdCard;
import com.wonders.commons.validation.phone.Phone;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * dto
 *
 * @author jin
 */
@Data
public class SysUserUpdatePwdDto {

    @IdCard
    @NotBlank(message = "身份证不能为空")
    private String cardId;
    @Phone
    @NotBlank(message = "手机号不能为空")
    private String phoneNumber;
    @NotBlank(message = "原密码不能为空")
    private String originalPassword;
    @NotBlank(message = "密码不能为空")
    private String password;

}
